package com.zeh.billing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zeh.billing.config.JsonDateSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zeh
 * @Date: 2021/09/01/14:25
 * @Description:
 */
@Data
public class CmoneyVo implements Serializable {

    @ApiModelProperty(value = "用户id")
    private String cid;


    @ApiModelProperty(value = "卡号")
    private String cardid;

    @ApiModelProperty(value = "历史消费金额")
    private Double hismoney;

    @ApiModelProperty(value = "剩余金额")
    private Double lastmoney;

     @ApiModelProperty(value = "创建时间")
     @JsonSerialize(using= JsonDateSerializer.class)
     private Date createTime;

    @ApiModelProperty(value = "充值卡数")
    private  int lastcard;

    @ApiModelProperty(value = "充值卡数")
    private  int nowcard;

    @ApiModelProperty(value = "类型")
    private  int ctype;
}
